package com.tcd.explore.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class DataUploadInfo {
    private static final long serialVersionUID = 1L;
    //文件上传id
    @TableId(value = "data_id", type = IdType.AUTO)
    private Integer dataId;
    //赔案ID
    @TableField(value = "claim_main_id")
    private Long claimMainId;
    //资料名称
    @TableField(value = "data_name")
    private String dataname;
    //资料路径
    @TableField(value = "data_url")
    private String dataurl;
    //资料描述
    @TableField(value = "data_desc")
    private String datadesc;
    //创建时间
    @TableField(value = "create_time")
    private Date createtime;
    //修改时间
    @TableField(value = "update_time")
    private Date updatetime;
    @Version
    private Integer version;
}
